import os

import pytest

if __name__ == '__main__':
    pytest.main(['./Case','--alluredir','./temp','--clean-alluredir'])
    os.system(f'allure generate temp -o allure-report --clean')
    pytest.main(['D:\ghs_pycharm\longguo_payment_ui_auto_test\Case','--html=D:\ghs_pycharm\longguo_payment_ui_auto_test\HTML\测试报告.html'])